package com.team.auth.config.exception;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;

@Data
public class SsoException extends RuntimeException{
    private SsoExceptionEnums ssoExceptionEnums;
    private Object data;

    public SsoException(SsoExceptionEnums ssoExceptionEnums) {
        this.ssoExceptionEnums = ssoExceptionEnums;
    }

    public SsoException(SsoExceptionEnums ssoExceptionEnums,Object data) {
        this.ssoExceptionEnums = ssoExceptionEnums;
        this.data = data;
    }
}
